package edu.osu.cse.c651.cryptochess;

public class BoardSquare {
	
	private int row;
	private int column;
	
	private Piece currentPiece;
	
	public BoardSquare(int row, int column) {
		this.row = row;
		this.column = column;
		currentPiece = null;
	}
	
	public BoardSquare(int row, int column, Piece piece) {
		this.row = row;
		this.column = column;
		currentPiece = piece;
	}
	
	public int getRow() {
		return row;
	}
	
	public int getColumn() {
		return column;
	}
	
	public Piece getPiece() {
		return currentPiece;
	}
	
	public void setPiece(Piece newPiece) {
		currentPiece = newPiece;
	}
}
